#ifndef INPUT_H_INCLUDED
#define INPUT_H_INCLUDED


#include "SDL/SDL.h"


#include "SRoutines.h"
#include "Cursor.h"
#include "Board.h"


#define R 3


enum class GameState;


typedef std::array <SDL_Surface*, 8>  iArr;
typedef std::array <Mix_Chunk*, 2>    sArr;


void processClick(SDL_Event, GameState&, Mark (&game_board)[R][R], iArr&, const sArr&, Mark&, Position, Position, SDL_Cursor*, SDL_Cursor*);


#undef R


#endif // INPUT_H_INCLUDED
